package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2021/12/20
 */
@ApiModel("登录入参")
@Data
public class SysLoginDTO implements Serializable {

    @ApiModelProperty("账号")
    @NotBlank(message = "账号不能为空")
    private String username;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty("验证码唯一标识")
    @NotBlank(message = "验证码唯一标识不能为空")
    private String verifyToken;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String verifyCode;
}
